//
//  MineZuanTableViewCell.m
//  Tongcheng
//
//  Created by 邢广范 on 2017/4/6.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//

#import "MineZuanTableViewCell.h"

@interface MineZuanTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *titileLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end

@implementation MineZuanTableViewCell

- (void)setModel:(MineZuanListModel *)model
{
    _model = model;
    self.titileLabel.text = model.diamond;
    self.priceLabel.text = model.price;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.priceLabel.layer.cornerRadius = 5;
    self.priceLabel.layer.masksToBounds = YES;
    self.priceLabel.layer.borderColor = RGB(0xE6E6E6).CGColor;
    self.priceLabel.layer.borderWidth = 1;
    
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
